package Day7;

import homework23_3_17.Teacher;

public class Java extends Teacher {

    //Java
    @Override
    public void giveLession() {
        System.out.println("我是Java老师，熟悉java");
    }
    public void attendClass(){
        System.out.println("Java老师"+name+"快速的上了一节课");
    }

}
